From a1f276c7e5ac8e10c3816849eb71628dd4f0f504 Mon Sep 17 00:00:00 2001 From: Factiven Date: Tue, 18 Apr 2023 15:41:50 +0700 Subject: 8th fixes --- pages/api/auth/[...nextauth].js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pages/api/auth/[...nextauth].js') diff --git a/pages/api/auth/[...nextauth].js b/pages/api/auth/[...nextauth].js index b6eae53..713b5f7 100644 --- a/pages/api/auth/[...nextauth].js +++ b/pages/api/auth/[...nextauth].js @@ -1,12 +1,12 @@ import NextAuth from "next-auth"; import { GET_CURRENT_USER } from "../../../queries"; import { client } from "../../../lib/apolloClient"; -import clientPromise from "../../../lib/mongodb"; -import { MongoDBAdapter } from "@next-auth/mongodb-adapter"; +// import clientPromise from "../../../lib/mongodb"; +// import { MongoDBAdapter } from "@next-auth/mongodb-adapter"; export const authOptions = { // Configure one or more authentication providers - adapter: MongoDBAdapter(clientPromise), + // adapter: MongoDBAdapter(clientPromise), secret: process.env.NEXTAUTH_SECRET, providers: [ { -- cgit v1.2.3